﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using GiveGraphModel;

namespace AModelTest
{
    public class SeedOnModelChangeModelChange : DropCreateDatabaseAlways<GiveGraphContext>
    {
        
        protected override void Seed(GiveGraphContext ctx)
        {
            #region ServiceCategories Seed
            
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Actor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Administrativo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Advogado" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Agente de Seguros" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Analista de Sistemas" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Analista Risco de Crédito" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Animador" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Arquitecto" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Arquivista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Assistente Social" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Bibliotecário" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Biólogo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Cabeleireiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Caixa" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Canalizador" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Carpinteiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Comercial" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Consultor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Contabilista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Cozinheiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Delegado de Informação Médica" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Dentista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Desenhador" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Designer" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Dietista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Economista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Educador de Infância" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Electricista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Empregado Mesa/Balcão" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Enfermeiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Engenheiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Escriturário" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Estafeta" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Estudante" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Farmacêutico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Físico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Fisioterapeuta" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Formador" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Fotógrafo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Geógrafo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Geólogo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Gestor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Guia" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Informático" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Jardineiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Jornalista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Jurista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Matemático" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Mecânico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Médico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Motorista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Músico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Pasteleiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Pintor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Professor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Psicólogo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Químico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "ROC-Revisor Oficial de Contas" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Secretária" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Segurança" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Serralheiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Sociólogo" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Técnico" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Técnico Superior" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Telefonista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Terapeuta da Fala" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Tesoureiro" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "TOC - Técnico Oficial de Contas" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Tradutor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Vendedor" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Veterinário" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Virologista" });
            ctx.ServicesCategories.Add(new ServiceCategory{ Description = "", Name = "Webdesigner" });
            #endregion
            #region SpecialtyArea Seeed

            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Adultos" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Animais" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Bebés" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Comunidade" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Crianças" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Idosos" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Jovens" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Mães Solteiras" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Mulheres Grávidas" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Portadores de Necessidades Especiais" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Presos" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Sem Abrigo" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Tóxico-Dependentes" });
            ctx.SpecialtyAreas.Add(new SpecialtyArea { Name = "Violência Doméstica" });
            #endregion


            ctx.SaveChanges();
        }
    }
}
